package com.dragon.codefx.dataBase.controller.dto;

import com.dragon.bean.SerializableDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 表配置 添加参数对象
 * @author lsc
 * @since 2025/6/24 17:06
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel("表配置 添加参数对象")
public class SchemaTableConfigAddDTO extends SerializableDTO<SchemaTableConfigAddDTO> {
    /**
     *作者
     */
    @ApiModelProperty(value = "作者", required = true)
    private String author;

    /**
     *表前缀
     */
    @ApiModelProperty(value = "表前缀", required = false)
    private String tablePrefix;

    /**
     *是否生成xml
     */
    @ApiModelProperty(value = "是否生成xml", required = true)
    private Integer generaXml;

    /**
     *包路径
     */
    @ApiModelProperty(value = "包路径", required = true)
    private String basePackage;

    /**
     *表名
     */
    @ApiModelProperty(value = "表名", required = true)
    private String tableName;

    /**
     *表注释
     */
    @ApiModelProperty(value = "表注释", required = true)
    private String tableComment;

    /**
     *数据库名
     */
    @ApiModelProperty(value = "数据库名", required = true)
    private String schemaName;

    /**
     *父类字段
     */
    @ApiModelProperty(value = "父类字段", required = false)
    private String parentFields;

    /**
     *生成方式
     */
    @ApiModelProperty(value = "生成方式", required = true)
    private String generateMethod;
}
